package com.imooc.coupon.service;

import org.apache.kafka.clients.consumer.ConsumerRecord;

/**
 * <h1>Kafka 相关的服务接口定义</h1>
 * @Author: crowsjian
 * @Date: 2020/6/16 21:44
 */
public interface IKafkaService {
    /**
     * <h2>消费优惠卷 Kafka 消息</h2>
     * @param record {@link ConsumerRecord}
     */
    void consumeCouponKafkaMessage(ConsumerRecord<?,?> record);
}
